<?php include ("inc/check_authen/check_authen.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <link rel="stylesheet" href="admin_css/template_admin.css" type="text/css" />
  <link rel="stylesheet" href="admin_css/product.css" type="text/css" />
 <script type="text/javascript" src="js/ckeditor/ckeditor.js"></script>
 <script type="text/javascript" src="js/page_function/contacts.js"></script>	
<title>Admin Page |  รายละเอียดข้อความ</title>
</head>
<body onload="getFormat_Onload()">
<div class="container">
	<?php include("inc/layout/header/header.php");?>
    <?php include("inc/layout/navigator/navigator.php");?>
    <div id="padding_page">
    <div class="button_topic">รายละเอียดข้อความ</div> 
    <a href="contacts.php"><img src="images/symbol/back_button.png" alt="" style="margin-left: 20px;" /></a> <br><br>		
        
    <?php include("command/rawdata/updateContactsActive.php");?>           
    <?php include("command/rawdata/getContactsForEdit.php");?>  
    </div>
    <!-- 
    *****************************************************
    	ตัวแปร php ที่ใช้มากจากไฟล์  getContactsForEdit.php ข้างบน
    *****************************************************	
    -->
    <!--<a href="#" onClick="contactsView_emailReply('<?php //echo $date?>')">reply</a>&nbsp; <a href="#" onClick="contactsView_cancelReply()">cancel</a>  &nbsp; <a href="#" onClick="emailForward()">forward</a><br/> 
    <div id="replyForm" style="display:none;">
    	<br/>
	    <input type="submit" value="Send"  onClick="contactsView_sendEmail(<?php//echo $_GET['contacts_id'] ?>);" /> <br/>
		<input type="submit" value="Discard" onClick="contactsView_discard();" /><br/>
		To : <input type="text" name="contact_view_txtTo" id ="contact_view_txtTo" value="<?php//echo $to?>" style="width: 700px;"></input> <br/>
		Cc : <input type="text" name="contact_view_txtCc" id ="contact_view_txtCc" value="" style="width: 700px;"></input> <br/>
		Bc : <input type="text" name="contact_view_txtBc" id ="contact_view_txtBc" value="" style="width: 700px;"></input> <br/>
		Subject : <input type="text" name="contact_view_txtSubject" id ="contact_view_txtSubject" value="<?//echo $subject?>" style="width: 700px;"></input> <br/>
	    <textarea id="contacts_txtaDescription" name="contacts_txtaDescription" cols="50" rows="10"><?//echo $description?></textarea><br/>
	    <input type="submit" value="Send"  onClick="contactsView_sendEmail(<?php //echo $_GET['contacts_id'] ?>);" />
	</div>-->
	<?php include("inc/layout/footer/footer.php");?>
</div>
 <!-- end .container -->
<form action="command/rawdata/sendEmailContacts.php" name="formSubmit" method="post">
	<input type="hidden" id="contacts_id" name="contacts_id" value=""></input>
	<input type="hidden" id="contacts_to" name="contacts_to" value=""></input>
	<input type="hidden" id="contacts_cc" name="contacts_cc" value=""></input>
	<input type="hidden" id="contacts_bc" name="contacts_bc" value=""></input>
	<input type="hidden" id="contacts_subject" name="contacts_subject" value=""></input>
	<input type="hidden" id="contacts_description" name="contacts_description" value=""></input>
</form>
</body>
</html>